<template>
  <div>
    <a-form-model ref="form" slot="detail">
      <a-row>
        <div class="select-pk">
          <span>订单编号：</span>
          <span>{{record.otherOutDepositoryNo}}</span>
        </div>
        <div class="select-pk">
          <span>出库日期：</span>
          <span>{{record.outDepositoryTime}}</span>
        </div>
        <!--<div class="select-pk">
          <span>供应商：</span>
          <span>{{record.supplierName}}</span>
        </div>-->
        <div class="select-pk">
          <span>创建人：</span>
          <span>{{record.createBy}}</span>
        </div>
        <div class="select-pk">
          <span>创建时间：</span>
          <span>{{record.createTime}}</span>
        </div>
        <div class="select-pk">
          <span>订单状态：</span>
          <span>{{record.statusValue}}</span>
        </div>
        <div class="select-pk">
          <span>审批原因：</span>
          <span>{{record.reason == null ? "无" : record.reason}}</span>
        </div>
        <div class="select-pk">
          <span>仓库：</span>
          <span>{{record.depositoryName}}</span>
        </div>
        <div class="select-pk">
          <span>备注：</span>
          <span>{{record.remark == null || record.remark == "" ? "无":record.remark}}</span>
        </div>
      </a-row>
    </a-form-model>

  </div>
</template>

<script>
  export default {
    name: "otherOutDepositoryOrderInfoTab",
    props: {
      record: {}
    },
    data() {
      return {
        labelCol: {
          xs: {span: 24},
          sm: {span: 5},
        },
        wrapperCol: {
          xs: {span: 24},
          sm: {span: 16},
        },
      }
    },
    methods: {

    }
  }
</script>

<style scoped lang="less">
  @import '~@assets/less/common.less';
  .select-pk{
    display:flex;
    align-items:center;
    margin:10px 0;
    &>span{
      font-weight: bold;
    }
    &-text{
      width: calc(100% - 6em);
      height: 30px;
      text-indent: 1em;
      line-height: 28px;
      border: 1px solid #d9d9d9;
      border-radius: 4px;
    }
  }
</style>